<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.prime.com.tr/ui">

    <body>

        <ui:composition>

            <div id="post">

                <h3>Adicionar para Lista</h3>

                <div id="stylized" class="myform">


                    <ui:include src="../questao/questaoView.xhtml" id="questaoView" />
<!--                    <h:inputHidden id="questao" value="{QuestaoListaController.questaoLista.questaoProfessor}" />-->

                    <h:outputLabel>Lista<span class="small">Selecione a Lista</span></h:outputLabel>
                    <h:selectOneMenu id="tipoCurso" value="#{QuestaoListaController.questaoLista.lista}">
                        <f:selectItems value="#{QuestaoListaController.listasUsuarioLogado}" var="listaTemp" itemLabel="#{listaTemp.titulo}" />
                    </h:selectOneMenu>
                    <br />



                    <h:commandButton styleClass="button" action="#{QuestaoListaController.persiste}" value="Salvar" id="salvar" />

                </div>
            </div>
        </ui:composition>

    </body>
</html>
